<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of the routes that are handled
| by your application. Just tell Laravel the URIs it should respond
| to using a Closure or controller method. Build something great!
|
*/

Route::get('/', 'HomeController@show');

Auth::routes();

Route::get('/home', 'HomeController@index');

// Route::controller('goods', 'GoodsController');

Route::group(['prefix' => 'goods'], function () {
    Route::get('all', "GoodsController@getall");
});